export interface Article {
  content: string
  similarity?: number
  highlightedContent?: string
}

export interface SmartTextInputProps {
  modelValue?: string
  articleDatabase?: Article[]
  minLength?: number
  maxSuggestions?: number
}

export interface SmartTextInputEmits {
  'update:modelValue': [value: string]
  select: [item: Article]
}
